//
//  PywLoginDataSource.h
//  PywSdk
//
//  Created by Jade on 4/7/16.
//  Copyright © 2016 zero. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
/*登录界面选择账号列表的数据源*/
typedef void(^didSelectRow)(NSIndexPath *indexPath);
typedef void(^DeleteCacheCompletion)(NSString *username);

@interface PywLoginDataSource : NSObject <UITableViewDataSource,UITableViewDelegate>
@property (nonatomic,copy) DeleteCacheCompletion deleteCacheCompletion;
+ (instancetype)createTableDataSourceWithDataList:(NSArray *)dataList
                                           isEdit:(BOOL)isEdit
                                     didSelectRow:(didSelectRow)didSelectRow;
@end
